﻿namespace com.binance.client.model.market
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class Trade
	{

		private long? id;

		private decimal price;

		private decimal qty;

		private decimal quoteQty;

		private long? time;

		private bool? isBuyerMaker;

		public virtual long? Id
		{
			get
			{
				return id;
			}
			set
			{
				this.id = value;
			}
		}


		public virtual decimal Price
		{
			get
			{
				return price;
			}
			set
			{
				this.price = value;
			}
		}


		public virtual decimal Qty
		{
			get
			{
				return qty;
			}
			set
			{
				this.qty = value;
			}
		}


		public virtual decimal QuoteQty
		{
			get
			{
				return quoteQty;
			}
			set
			{
				this.quoteQty = value;
			}
		}


		public virtual long? Time
		{
			get
			{
				return time;
			}
			set
			{
				this.time = value;
			}
		}


		public virtual bool? IsBuyerMaker
		{
			get
			{
				return isBuyerMaker;
			}
			set
			{
				this.isBuyerMaker = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("id", id).append("price", price).append("qty", qty).append("quoteQty", quoteQty).append("time", time).append("isBuyerMaker", isBuyerMaker).ToString();
		}
	}

}